package com.cnyz.entity;

import com.cnyz.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel(description = "课程实体类")
@Data
public class Course extends BaseEntity {

    @ApiModelProperty(value = "课程名称")
    String courseName;

    @ApiModelProperty(value = "课程描述")
    String description;

    @ApiModelProperty(value = "授课教师ID")
    Long teacherID;

    @ApiModelProperty(value = "授课教师姓名")
    String teacherName;
}
